package com.example.emos.api.db.dao;

import com.example.emos.api.db.pojo.TbDept;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

@Mapper
public interface TbDeptDao  {
    public ArrayList<HashMap> searchAllDept();
    public HashMap searchById(int id);

    public abstract  ArrayList<HashMap> selectDeptPage(HashMap param);

    public abstract long selectDeptPageCount(HashMap param);

    public abstract int insert(TbDept tbDept);

    public abstract int update(TbDept tbDept);

    public abstract int delete( Integer[] ids);

}
